package com.dataseek.iot.mysql.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2021-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "function_log",autoResultMap = true)
public class FunctionLog implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 序号
     */
    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 设备编码
     */
    private String deviceCode;

    /**
     * 时间戳
     */
    private Long timestamp;

    /**
     * 消息ID
     */
    private String messageId;

    /**
     * 功能标识
     */
    private String functionCode;

    /**
     * 功能参数
     */
    private String input;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;


}
